<?php
	class MySmarty extends Smarty{

		function MySmarty(){
			parent::Smarty();
		}
		
		function setTemplate($TmpPath=""){ $this->template_dir = $TmpPath; }
		
		function setCache($CachePath=""){ $this->compile_dir = $CachePath; }

		function setPlugin($PluginPath){ $this->plugins_dir = array_merge($this->plugins_dir, array($PluginPath)); }

	}

?>